{include file="public/header" /}
<body>
    <style>
     .jminput40{width:40px;}
</style>
{include file="public/header" /}
<body>
<div class="layui-tab" lay-filter="test1">
  <ul class="layui-tab-title">
    <li class="layui-this" lay-id="111" >修改评价</li>
  </ul>
  <div class="layui-tab-content">
    <div class="layui-tab-item layui-show">
<div class="layui-fluid">
    <div class="layui-card" >
        <form class="layui-form" action="" id="form1" lay-filter="form1">
<div class="layui-form-item" style="display: flex;">
    <label class="layui-form-label">用户ID</label>
	<div class="layui-input-block" >
		<input type="text"  class="layui-input" id="my_id" name="my_id" value="{$info['my_id']}" >﻿<input type="hidden" id="id" name="id" value="{$info['id']}">
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>
<div class="layui-form-item" style="display: flex;">
    <label class="layui-form-label">商品ID</label>
	<div class="layui-input-block" >
		<input type="text"  class="layui-input" id="product_id" name="product_id" value="{$info['product_id']}" >
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>
<div class="layui-form-item" style="display: flex;">
    <label class="layui-form-label">评价内容</label>
	<div class="layui-input-block" >
		﻿<textarea id="content" name="content" style="width:500px;height:300px;" class="layui-textarea">{$info['content']}</textarea>
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="savedata">保存修改</button>
                </div>
            </div>
        </form>
        <script>
            //分组控制
                ////有参隐藏
                var grouppara = "";
                var grouphidden = "";
                if (grouphidden !== undefined) {
                    var arr1 = grouphidden.split(","); var arr2 = grouppara.split(",");
                    var urlParams = new URLSearchParams(window.location.search);
                     var ishiiden=0;
                     for (var q = 0; q < arr2.length; q++) {
                                if (urlParams.has(arr2[q])) {ishiiden=1;}
                      }
                    for (var q = 0; q < arr1.length; q++) {
                      if(ishiiden==1)
                      {
                            $(".formitemgroup" + arr1[q]).closest(".layui-form-item").hide();
                      }
                    }
                }
        </script>
       <script>
           {php} if(session('roleid')>5){ {/php}
            $("input[name='ispublic']").parent().parent().hide();
           {php}}{/php}
        </script>
    </div>
</div>
<script>
</script>
      {include file="public/footer" /}
      <script>
			var uploadimgurl = "{:url('/comm/upload/uploadimg')}";
      </script>
      <script src="__SKIN__/js/jmzhfsconfiguploadform.js?v=1.222"></script>
      <script type="text/javascript">
            $(function () {
                  formsubmit('form1',"{$editurl}");
            });
      </script>
<style>
    /* 每列表单过多，防止窜行，缩小宽度 */
    .layui-form-label{
       padding: 9px 10px;
    }
</style> 
</body>
</html>
    </div>
  </div>
</div>
